<template>
  <input type="text" v-bind:value="value" v-on:input="cha" />
</template>

<script>
export default {
  props: {
    value: String,
  },
  methods: {
    cha(e) {
      this.$emit("input", e.target.value);
    },
  },
};
</script>

<style>
</style>